package com.iotechn.unimall.data.enums;

/**
 * 秒杀状态
 */
public enum SeckillStatusType {

    BEFORESECKILL(0, "未开启"),

    SECKILLING(1, "秒杀中"),

    SECKILLSUSPEND(2, "暂停"),

    SECKILLOVER(3, "结束"),

    SECKILLDISMOUNT(4, "下架")

    ;

    SeckillStatusType(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    private int code;

    private String msg;

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
